﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.DB;

namespace ModelValidation.ClearHeightCheck
{
	public class ElementAndClearHeight
	{
		public ElementAndClearHeight(double dClearHeight, BuiltInCategory type)
		{
			this.m_dClearHeight = dClearHeight;
			this.m_ElementCategory = type;
		}

		public double getClearHeight()
		{
			return this.m_dClearHeight;
		}

		public List<Element> getElementList()
		{
			return this.m_ElementList;
		}

		public void addElement(Element element)
		{
			this.m_ElementList.Add(element);
		}

		public BuiltInCategory getElementCategory()
		{
			return this.m_ElementCategory;
		}

		private double m_dClearHeight;

        private BuiltInCategory m_ElementCategory = BuiltInCategory.INVALID;

		private List<Element> m_ElementList = new List<Element>();
	}
}
